import request from "@/utils/request"

export interface QueryFeedbackListParams extends PaginationParams {
  /** 场站 id */
  stubGroupId?: string
  /** 场站名称 */
  personId?: string
  /** 设备 id */
  status?: number
  /** 订单 id */
  settleId?: string
  /** 用户 id */
  beginDay?: string
  endDay?: string
}
export enum FeedbackStatus {
  付款中 = 1,
  已付款 = 2,
}
export interface Feedback {
  id: number
  createTime: string
  stationName: string
  orgName: string
  payMoney: number
  status: number
  totalFee: number
  stationName: string
  settleIds:string
  commend:string
}
export async function queryFeedbackList(params: QueryFeedbackListParams) {
  return request<Feedback[]>('/app/manager/org/networkFee/list', {
    data: params,
  })
}
export async function dealFeedback(params: {
  infoId: number;
  commend?: string;
}) {
  return request('/app/manager/org/networkFee/finish', {
    data: params,
  })
}
